package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import io.swagger.annotations.Api;
//value:分组
@Api(value = "频道管理" ,tags = "channel", description = "频道管理API")
public interface AdChannelControllerApi {
    /*
    根据名称和前台传的分页信息查询频道列表
    */
    public ResponseResult findByNameAndPage(ChannelDto dto);
/*
* 新增
*
* */
public ResponseResult save(AdChannel channel);
/*修改
* */
public ResponseResult update(AdChannel adChannel);
/*
* 删除
* */
public ResponseResult deleteById(Integer id);
    /**
     * 查询所有频道
     * @return
     */
    public ResponseResult findAll();

}
